package com.itfreer.cms.service.content;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.cms.entity.content.CommentEntity;
import com.itfreer.cms.service.content.CommentService;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

/**
 * 定义评论管理服务
 */
@Component
@Path("/cms_comment/")
public class RestCommentService extends BaseRestService<CommentEntity>{
	
	/**
	 * 栏目管理接口
	 */
	@Autowired
	private CommentService commentManage;

	@Override
	protected BaseService<CommentEntity> getService() {
		return commentManage;
	}
	
	@Override
	protected String getServiceName() {
		return "cms_comment";
	}
	
}
